// package_01/pages/scroll-x/index.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    coupons: [
      {id: 1, price: 100, restrictions: 1000, myStatus: 2},
      {id: 2, price: 100, restrictions: 1000, myStatus: 2},
      {id: 3, price: 100, restrictions: 1000, myStatus: 2},
      {id: 4, price: 100, restrictions: 1000, myStatus: 2},
      {id: 5, price: 100, restrictions: 1000, myStatus: 2},
      {id: 6, price: 100, restrictions: 1000, myStatus: 1},
      {id: 7, price: 100, restrictions: 1000, myStatus: 1},
      {id: 8, price: 100, restrictions: 1000, myStatus: 1},
    ],
    items: [
      {id: 1, image: 'https://picsum.photos/200/300', title: '【含做前卸甲】半贴+罐装光疗建构+款式含做前卸甲半贴+罐装光疗建构+款式+', price: '100', saleNum: '10'},
      {id: 2, image: 'https://picsum.photos/200/300', title: '【含做前卸甲】半贴+罐装光疗建构+款式+', price: '100', saleNum: '10'},
      {id: 3, image: 'https://picsum.photos/200/300', title: '【含做前卸甲】半贴+罐装光疗建构+款式+', price: '100', saleNum: '10'},
      {id: 4, image: 'https://picsum.photos/200/300', title: '【含做前卸甲】半贴+罐装光疗建构+款式+', price: '100', saleNum: '10'},
    ], 
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide() {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload() {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage() {

  }
})